import React from 'react'
import {Link} from 'react-router-dom'

export default class Home extends React.Component{
    render(){
        return(
           
                <div>
                    <ul>
                        <li>
                            <Link to="/main">Home1</Link>
                        </li>
                        <li>
                            <Link to="/about">About1</Link>
                        </li>
                        <li>
                            <Link to="/about/abc">About1</Link>
                        </li>
                        <li>
                            <Link to="/topics">Topics1</Link>
                        </li>
                        <li>
                            <Link to="/ms1">ms1</Link>
                        </li>
                        <li>
                            <Link to="/ms2">ms2</Link>
                        </li>
                    </ul> 
                <hr/>
               {this.props.children}
                </div> 
          
        );
    }
} 